.class public Lcom/estrongs/android/widget/f;
.super Lcom/estrongs/android/widget/g;
.source "ImageBrowserDialog.java"


# instance fields
.field private h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

.field private i:Landroid/view/View;

.field protected j:Z

.field private k:Lcom/estrongs/android/widget/RealViewSwitcher;

.field l:Landroid/view/View;

.field m:Landroid/view/View;

.field private n:Landroid/view/View;

.field private o:Z

.field private p:Lcom/estrongs/android/ui/navigation/TabIndicatorView;

.field private q:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/estrongs/android/widget/g$g;Z)V
    .locals 2

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/widget/g;-><init>(Landroid/app/Activity;Lcom/estrongs/android/widget/g$g;)V

    .line 2
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    const/4 p1, 0x1

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/widget/f;->o:Z

    .line 4
    new-instance p2, Lcom/estrongs/android/widget/f$c;

    invoke-direct {p2, p0}, Lcom/estrongs/android/widget/f$c;-><init>(Lcom/estrongs/android/widget/f;)V

    iput-object p2, p0, Lcom/estrongs/android/widget/f;->q:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    .line 5
    iput-boolean p3, p0, Lcom/estrongs/android/widget/f;->o:Z

    const p2, 0x7f090bd6

    .line 6
    invoke-virtual {p0, p2}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p2

    iput-object p2, p0, Lcom/estrongs/android/widget/f;->n:Landroid/view/View;

    .line 7
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v1, 0x7f080216

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p2, v0}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    const/16 p2, 0x8

    if-eqz p3, :cond_0

    .line 8
    invoke-direct {p0}, Lcom/estrongs/android/widget/f;->e()V

    goto :goto_0

    .line 9
    :cond_0
    iget-object p3, p0, Lcom/estrongs/android/widget/f;->n:Landroid/view/View;

    invoke-virtual {p3, p2}, Landroid/view/View;->setVisibility(I)V

    .line 10
    iget-object p3, p0, Lcom/estrongs/android/widget/f;->k:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {p3, p1}, Lcom/estrongs/android/widget/RealViewSwitcher;->removeViewAt(I)V

    .line 11
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object p3, p0, Lcom/estrongs/android/widget/f;->q:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;)V

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->g0()Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 13
    invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    const p1, 0x7f110299

    .line 14
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x0

    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setSingleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/widget/f;)Lcom/estrongs/android/view/ImageFileGridViewWrapper;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/widget/f;)Lcom/estrongs/android/ui/navigation/TabIndicatorView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/f;->p:Lcom/estrongs/android/ui/navigation/TabIndicatorView;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/widget/f;)Lcom/estrongs/android/widget/RealViewSwitcher;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/f;->k:Lcom/estrongs/android/widget/RealViewSwitcher;

    return-object p0
.end method

.method private e()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/widget/f$a;

    iget-object v3, p0, Lcom/estrongs/android/widget/g;->b:Landroid/app/Activity;

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v1, v0

    move-object v2, p0

    invoke-direct/range {v1 .. v6}, Lcom/estrongs/android/widget/f$a;-><init>(Lcom/estrongs/android/widget/f;Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;Z)V

    iput-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/widget/f;->i:Landroid/view/View;

    check-cast v1, Landroid/view/ViewGroup;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    .line 5
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060294

    .line 6
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    .line 7
    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->k(I)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    const/16 v1, 0xb

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->j(I)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v1, p0, Lcom/estrongs/android/widget/f;->q:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v1, p0, Lcom/estrongs/android/widget/g;->g:Lcom/estrongs/android/view/FileGridViewWrapper$z;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper$z;)V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/widget/f$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/f$b;-><init>(Lcom/estrongs/android/widget/f;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->g0()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 13
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private f()V
    .locals 2

    const v0, 0x7f090bc0

    .line 1
    invoke-virtual {p0, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/widget/f;->l:Landroid/view/View;

    .line 2
    new-instance v1, Lcom/estrongs/android/widget/f$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/f$e;-><init>(Lcom/estrongs/android/widget/f;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private g()V
    .locals 2

    const v0, 0x7f090bc4

    .line 1
    invoke-virtual {p0, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/widget/f;->m:Landroid/view/View;

    .line 2
    new-instance v1, Lcom/estrongs/android/widget/f$f;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/f$f;-><init>(Lcom/estrongs/android/widget/f;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method protected a()Lcom/estrongs/android/view/ImageFileGridViewWrapper;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->k:Lcom/estrongs/android/widget/RealViewSwitcher;

    invoke-virtual {v0}, Lcom/estrongs/android/widget/RealViewSwitcher;->getCurrentScreen()I

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    return-object v0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    return-object v0
.end method

.method protected a(Landroid/content/Context;)V
    .locals 2

    .line 5
    invoke-super {p0, p1}, Lcom/estrongs/android/widget/g;->a(Landroid/content/Context;)V

    const p1, 0x7f0904ca

    .line 6
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    iput-object p1, p0, Lcom/estrongs/android/widget/f;->i:Landroid/view/View;

    const p1, 0x7f090267

    .line 7
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/widget/RealViewSwitcher;

    iput-object p1, p0, Lcom/estrongs/android/widget/f;->k:Lcom/estrongs/android/widget/RealViewSwitcher;

    const/4 v0, 0x0

    .line 8
    invoke-virtual {p1, v0}, Lcom/estrongs/android/widget/RealViewSwitcher;->b(Z)V

    const p1, 0x7f09054f

    .line 9
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/navigation/TabIndicatorView;

    iput-object p1, p0, Lcom/estrongs/android/widget/f;->p:Lcom/estrongs/android/ui/navigation/TabIndicatorView;

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/widget/f;->k:Lcom/estrongs/android/widget/RealViewSwitcher;

    new-instance v1, Lcom/estrongs/android/widget/f$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/f$d;-><init>(Lcom/estrongs/android/widget/f;)V

    .line 11
    invoke-virtual {p1, v1}, Lcom/estrongs/android/widget/RealViewSwitcher;->setOnScreenSwitchListener(Lcom/estrongs/android/widget/RealViewSwitcher$b;)V

    .line 12
    invoke-direct {p0}, Lcom/estrongs/android/widget/f;->f()V

    .line 13
    invoke-direct {p0}, Lcom/estrongs/android/widget/f;->g()V

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/widget/f;->p:Lcom/estrongs/android/ui/navigation/TabIndicatorView;

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/ui/navigation/TabIndicatorView;->a(IF)V

    return-void
.end method

.method protected b()I
    .locals 1

    const v0, 0x7f0c01ba

    return v0
.end method

.method public b(Z)V
    .locals 1

    .line 2
    invoke-super {p0, p1}, Lcom/estrongs/android/widget/g;->b(Z)V

    .line 3
    iget-boolean p1, p0, Lcom/estrongs/android/widget/f;->o:Z

    if-eqz p1, :cond_0

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    const/16 v0, 0xb

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->j(I)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->d(Z)V

    :cond_0
    return-void
.end method

.method public c(Z)V
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/widget/f;->j:Z

    return-void
.end method

.method public d()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/widget/f;->o:Z

    return v0
.end method

.method public dismiss()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/widget/g;->dismiss()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->v0()V

    :cond_0
    return-void
.end method

.method public show()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/widget/f;->j:Z

    if-eqz v0, :cond_1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->J()V

    .line 4
    iget-boolean v0, p0, Lcom/estrongs/android/widget/f;->o:Z

    if-eqz v0, :cond_0

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/widget/f;->h:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->J()V

    :cond_0
    const/4 v0, 0x0

    .line 6
    iput-boolean v0, p0, Lcom/estrongs/android/widget/f;->j:Z

    :cond_1
    return-void
.end method
